import { IQueryParams } from '@/widgets/table-pagination';

export const CoordinationStatus = {
  UNREAD: { text: '未读', value: 'UNREAD', color: 'tertiary' },
  REFUSE: { text: '婉拒', value: 'REFUSE', color: 'danger' },
  NORMAL_FOLLOW_UP: {
    text: '正常跟进',
    value: 'NORMAL_FOLLOW_UP',
    color: 'secondary',
  },
  KEY_FOLLOW_UP: { text: '重点跟进', value: 'KEY_FOLLOW_UP', color: 'primary' },
  FINISH: { text: '完成', value: 'FINISH', color: 'success' },
};

export const initialQuery: IQueryParams = {
  sorter: {}, // { id: 'DESC', text: 'ASC' }
  filter: {},
  pageNum: 1,
  pageSize: 10,
};

export const initialFilter = {
  name: '',
  owner: '',
};

export const initialEntity = {
  id: '',
  name: '',
  nameIconSrc: '',
  size: '',
  owner: '',
  updateTime: '',
  avatarBg: '',
};

export const pageSizeOpts = [5, 10, 20, 50];
